net.rim.device.api.crypto.cms
Class CMSEntityIdentifier

java.lang.Object
  extended by net.rim.device.api.crypto.cms.CMSEntityIdentifier

public final class CMSEntityIdentifier
extends Object

This class encompasses how entities ( whether recipients or signers ) are represented in CMS. That is, either as a serial number/issuer pair or as a subject key identifier.

Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.0.0

Method Summary
Category: Signed  X509DistinguishedName getIssuer()
          Returns the issuer, or null if not present.
Category: Signed  byte[] getSerialNumber()
          Returns the serial number, or null if not present.
Category: Signed  byte[] getSubjectKeyIdentifier()
          Returns the subject key identifier, or null if not present.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 



Method Detail

getIssuer

public X509DistinguishedName getIssuer()
Returns the issuer, or null if not present.

Returns:
The DistinguishedName of the issuer, or null.
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.0.0

getSerialNumber

public byte[] getSerialNumber()
Returns the serial number, or null if not present.

Returns:
A byte array containing the serial number, or null.
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.0.0

getSubjectKeyIdentifier

public byte[] getSubjectKeyIdentifier()
Returns the subject key identifier, or null if not present.

Returns:
A byte array containing the subject key identifier, or null.
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.0.0





Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal