Constructor and Description |
---|
SsfPabBasicImpl(X509Certificate[] trustedCerts)
Constructs an SSF personal address book from an array of X509 certificates
|
Modifier and Type | Method and Description |
---|---|
boolean |
addUntrustedCertificate(X509Certificate cert)
Add untrusted certificate to the personal address book.
|
X509Certificate |
getCertificateBySubjectDN(String subjectdn)
Get the root certificate corresponding to the given SubjectDN
|
X509Certificate[] |
getCertificates()
Get the root certificates contained in the personal address book
|
boolean |
isTrusted(X509Certificate cert)
Checks if a supplied certificate is trusted
|
String |
toString()
Get description of SSF personal address book
|
public SsfPabBasicImpl(X509Certificate[] trustedCerts)
trustedCerts
- array of X509 certificatespublic boolean addUntrustedCertificate(X509Certificate cert)
ISsfPab
addUntrustedCertificate
in interface ISsfPab
cert
- the certificate to be addedISsfPab.addUntrustedCertificate(java.security.cert.X509Certificate)
public X509Certificate[] getCertificates()
ISsfPab
getCertificates
in interface ISsfPab
ISsfPab.getCertificates()
public X509Certificate getCertificateBySubjectDN(String subjectdn)
ISsfPab
getCertificateBySubjectDN
in interface ISsfPab
subjectdn
- subject distinguished namenull
ISsfPab.getCertificateBySubjectDN(java.lang.String)
public boolean isTrusted(X509Certificate cert)
ISsfPab
isTrusted
in interface ISsfPab
cert
- the certificate to be checkedISsfPab.isTrusted(java.security.cert.X509Certificate)
Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] CORE-TOOLS
|
[sap.com]
|
default
|
BC-JAS
|
[sap.com] ENGFACADE
|
[sap.com] tc/bl/security/lib
|
api
|
BC-JAS-SEC
|
[sap.com] ENGINEAPI
|
[sap.com]
|
-
|
BC-JAS-SEC
|
[sap.com] ENGINEAPI
|
[sap.com]
|
default
|
BC-JAS-SEC
|
Copyright 2018 SAP AG Complete Copyright Notice