|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.globus.gsi.proxy.ext.ProxyPolicy
public class ProxyPolicy
Represents the policy part of the ProxyCertInfo extension.
ProxyPolicy ::= SEQUENCE { policyLanguage OBJECT IDENTIFIER, policy OCTET STRING OPTIONAL }
| Field Summary | |
|---|---|
static org.bouncycastle.asn1.DERObjectIdentifier |
IMPERSONATION
Impersonation proxy OID |
static org.bouncycastle.asn1.DERObjectIdentifier |
INDEPENDENT
Independent proxy OID |
static org.bouncycastle.asn1.DERObjectIdentifier |
LIMITED
Limited proxy OID |
| Constructor Summary | |
|---|---|
ProxyPolicy(org.bouncycastle.asn1.ASN1Sequence seq)
Creates a new instance of the ProxyPolicy object from given ASN1Sequence object. |
|
ProxyPolicy(org.bouncycastle.asn1.DERObjectIdentifier policyLanguage)
Creates a new instance of the ProxyPolicy object with no policy. |
|
ProxyPolicy(org.bouncycastle.asn1.DERObjectIdentifier policyLanguage,
byte[] policy)
Creates a new instance of the ProxyPolicy object. |
|
ProxyPolicy(org.bouncycastle.asn1.DERObjectIdentifier policyLanguage,
java.lang.String policy)
Creates a new instance of the ProxyPolicy object. |
|
ProxyPolicy(java.lang.String policyLanguageOid,
byte[] policy)
Creates a new instance of the ProxyPolicy object. |
|
| Method Summary | |
|---|---|
protected void |
checkConstraints()
|
org.bouncycastle.asn1.DERObject |
getDERObject()
Returns the DER-encoded ASN.1 representation of proxy policy. |
byte[] |
getPolicy()
Returns the actual policy embedded in the ProxyPolicy object. |
java.lang.String |
getPolicyAsString()
Returns the actual policy embedded in the ProxyPolicy object. |
org.bouncycastle.asn1.DERObjectIdentifier |
getPolicyLanguage()
Returns the policy language of the ProxyPolicy. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final org.bouncycastle.asn1.DERObjectIdentifier IMPERSONATION
public static final org.bouncycastle.asn1.DERObjectIdentifier INDEPENDENT
public static final org.bouncycastle.asn1.DERObjectIdentifier LIMITED
| Constructor Detail |
|---|
public ProxyPolicy(org.bouncycastle.asn1.ASN1Sequence seq)
seq - ASN1Sequence object to create the instance from.
public ProxyPolicy(org.bouncycastle.asn1.DERObjectIdentifier policyLanguage,
byte[] policy)
policyLanguage - the language policy Oid.policy - the policy.
public ProxyPolicy(java.lang.String policyLanguageOid,
byte[] policy)
policyLanguageOid - the language policy Oid.policy - the policy.
public ProxyPolicy(org.bouncycastle.asn1.DERObjectIdentifier policyLanguage,
java.lang.String policy)
policyLanguage - the language policy Oid.policy - the policy.public ProxyPolicy(org.bouncycastle.asn1.DERObjectIdentifier policyLanguage)
policyLanguage - the language policy Oid.| Method Detail |
|---|
public org.bouncycastle.asn1.DERObject getDERObject()
getDERObject in interface org.bouncycastle.asn1.DEREncodableDERObject the encoded representation of the proxy
policy.protected void checkConstraints()
public byte[] getPolicy()
public java.lang.String getPolicyAsString()
public org.bouncycastle.asn1.DERObjectIdentifier getPolicyLanguage()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||