Class CertificationRequestInfo
java.lang.Object
org.apache.harmony.security.pkcs10.CertificationRequestInfo
public final class CertificationRequestInfo extends Object
CertificationRequestInfo ::= SEQUENCE {
version Version,
subject Name,
subjectPublicKeyInfo SubjectPublicKeyInfo,
attributes [0] IMPLICIT Attributes }
Version ::= INTEGER
Attributes ::= SET OF Attribute
-
Field Summary
Fields Modifier and Type Field Description static ASN1SequenceASN1 -
Method Summary
Modifier and Type Method Description byte[]getEncoded()Returns ASN.1 encoded form of this CertificationRequestInfo.NamegetSubject()intgetVersion()StringtoString()Returns a string containing a concise, human-readable description of this object.
-
Field Details
-
ASN1
-
-
Method Details
-
getSubject
-
getVersion
public int getVersion() -
getEncoded
public byte[] getEncoded()Returns ASN.1 encoded form of this CertificationRequestInfo.- Returns:
- a byte array containing ASN.1 encode form.
-
toString
Description copied from class:ObjectReturns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:getClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toStringmethod if you intend implementing your owntoStringmethod.
-