Class Certificate
- 
                    
                    
- All Implemented Interfaces:
 - 
                            
                            
io.anyline.nfc.bouncycastle.asn1.ASN1Encodable,io.anyline.nfc.bouncycastle.util.Encodable 
public class Certificate extends ASN1Object
an X509Certificate structure.
Certificate ::= SEQUENCE { tbsCertificate TBSCertificate, signatureAlgorithm AlgorithmIdentifier, signature BIT STRING } 
- 
                
                    
                    
- 
                                
                            
                                
Method Summary
Modifier and Type Method Description static CertificategetInstance(ASN1TaggedObject obj, boolean explicit)static CertificategetInstance(Object obj)TBSCertificategetTBSCertificate()ASN1IntegergetVersion()intgetVersionNumber()ASN1IntegergetSerialNumber()X500NamegetIssuer()TimegetStartDate()TimegetEndDate()X500NamegetSubject()SubjectPublicKeyInfogetSubjectPublicKeyInfo()AlgorithmIdentifiergetSignatureAlgorithm()DERBitStringgetSignature()ASN1PrimitivetoASN1Primitive()Method providing a primitive representation of this object suitable for encoding. - 
                    
                    
                    
- 
                                
                            
                                
Method Detail
- 
                                        
getInstance
static Certificate getInstance(ASN1TaggedObject obj, boolean explicit)
 
- 
                                        
getInstance
static Certificate getInstance(Object obj)
 
- 
                                        
getTBSCertificate
TBSCertificate getTBSCertificate()
 
- 
                                        
getVersion
ASN1Integer getVersion()
 
- 
                                        
getVersionNumber
int getVersionNumber()
 
- 
                                        
getSerialNumber
ASN1Integer getSerialNumber()
 
- 
                                        
getStartDate
Time getStartDate()
 
- 
                                        
getEndDate
Time getEndDate()
 
- 
                                        
getSubject
X500Name getSubject()
 
- 
                                        
getSubjectPublicKeyInfo
SubjectPublicKeyInfo getSubjectPublicKeyInfo()
 
- 
                                        
getSignatureAlgorithm
AlgorithmIdentifier getSignatureAlgorithm()
 
- 
                                        
getSignature
DERBitString getSignature()
 
- 
                                        
toASN1Primitive
ASN1Primitive toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.
- Returns:
 a primitive representation of this object.
 
 - 
                                        
 
 - 
                                
                            
                                
 
 - 
                    
                    
                    
 
 -