public static final class QcEuPDS.PdsLocation extends java.lang.Object implements ASN1Type
PdsLocation type.
 
 The PdsLocation is used to provide an URL that points
 to a specific Policy Disclosure Statement (PDS) written in a specific 
 language.
| Constructor and Description | 
|---|
PdsLocation(ASN1Object obj)
Creates a PdsLocation from its ASN.1 representation. 
 | 
PdsLocation(java.lang.String url,
           java.lang.String language)
Creates a PdsLocation with given url and language code. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
decode(ASN1Object obj)
Decodes and parses the given ASN.1 PdsLocation. 
 | 
java.lang.String | 
getLanguage()
Gets the language code. 
 | 
java.lang.String | 
getUrl()
Gets the pds url. 
 | 
ASN1Object | 
toASN1Object()
Returns this PdsLocation as ASN1Object. 
 | 
java.lang.String | 
toString()
Returns a String representation of the PdsLocation. 
 | 
public PdsLocation(java.lang.String url,
                   java.lang.String language)
url - the url pointing to the PDSlanguage - the language codejava.lang.NullPointerException - if url or language code is nulljava.lang.IllegalArgumentException - if language code does not consist of only two characterspublic PdsLocation(ASN1Object obj) throws CodingException
obj - the PdsLocation as ASN1ObjectCodingException - if the ASN1Object cannot be parsedpublic java.lang.String getUrl()
public java.lang.String getLanguage()
public void decode(ASN1Object obj) throws CodingException
decode in interface ASN1Typeobj - the PdsLocation as ASN1ObjectCodingException - if the ASN1Object cannot not be parsedpublic ASN1Object toASN1Object()
toASN1Object in interface ASN1Typepublic java.lang.String toString()
toString in class java.lang.Object