|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.asn1.ASN1Encodable
org.glite.security.util.proxy.ProxyPolicy
public class ProxyPolicy
Proxy policy ASN1 class. ProxyPolicy ::= SEQUENCE { policyLanguage OBJECT IDENTIFIER, policy OCTET STRING OPTIONAL }
Field Summary | |
---|---|
static java.lang.String |
INDEPENDENT_POLICY_OID
The rarely used policy where the proxy is independent of the parent and does not inherit rights from it. |
static java.lang.String |
INHERITALL_POLICY_OID
The normal, default policy, the proxy inherits the rights of the parent. |
static java.lang.String |
LIMITED_PROXY_OID
The limited proxy, which should prevent the proxy from being used for job submission. |
Fields inherited from class org.bouncycastle.asn1.ASN1Encodable |
---|
BER, DER |
Constructor Summary | |
---|---|
ProxyPolicy(org.bouncycastle.asn1.ASN1Sequence seq)
Read a new proxy policy object from the ASN1 sequence. |
|
ProxyPolicy(java.lang.String oid)
Generate basic proxy policy. |
|
ProxyPolicy(java.lang.String oid,
org.bouncycastle.asn1.ASN1OctetString policy)
Generate new policy object using language defined by oid and the policy. |
Method Summary | |
---|---|
org.bouncycastle.asn1.ASN1OctetString |
getPolicyASN1()
The optional policy information in this structure |
java.lang.String |
getPolicyOID()
Use to get the policy OID as a String. |
org.bouncycastle.asn1.DERObject |
toASN1Object()
output the ASN1 object of the proxy policy. |
Methods inherited from class org.bouncycastle.asn1.ASN1Encodable |
---|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String INHERITALL_POLICY_OID
public static final java.lang.String INDEPENDENT_POLICY_OID
public static final java.lang.String LIMITED_PROXY_OID
Constructor Detail |
---|
public ProxyPolicy(java.lang.String oid)
oid
- the policy language or policy to set. If not set using constructors, inherit all policy is assumed.public ProxyPolicy(java.lang.String oid, org.bouncycastle.asn1.ASN1OctetString policy)
oid
- the OID for the language. Null retains the default of inherit all.policy
- the policy. Null means no policy.public ProxyPolicy(org.bouncycastle.asn1.ASN1Sequence seq)
seq
- The proxy policy ASN1 sequence.Method Detail |
---|
public java.lang.String getPolicyOID()
public org.bouncycastle.asn1.ASN1OctetString getPolicyASN1()
public org.bouncycastle.asn1.DERObject toASN1Object()
toASN1Object
in class org.bouncycastle.asn1.ASN1Encodable
ASN1Encodable.toASN1Object()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |