Support methods for dealing with Weave certificates.
Public Constructor Summary
Public Method Summary
| static byte[] | 
                  
                  weaveCertificateToX509(byte[] certBuf, int offset, int length)
                   
                    Convert a certificate in Weave format to the equivalent X.509 certificate.
                   | 
| static byte[] | 
                  
                  weaveCertificateToX509(byte[] certBuf)
                   
                    Convert a certificate in Weave format to the equivalent X.509 certificate.
                   | 
| static byte[] | 
                  
                  x509CertificateToWeave(byte[] certBuf)
                   
                    Convert a certificate in X.509 format to the equivalent Weave certificate.
                   | 
| static byte[] | 
                  
                  x509CertificateToWeave(byte[] certBuf, int offset, int length)
                   
                    Convert a certificate in X.509 format to the equivalent Weave certificate.
                   | 
Inherited Method Summary
Public Constructors
public WeaveCertificateSupport ()
Public Methods
public static byte[] weaveCertificateToX509 (byte[] certBuf, int offset, int length)
Convert a certificate in Weave format to the equivalent X.509 certificate.
Parameters
| certBuf | A byte array containing the Weave certificate to be converted. | 
|---|---|
| offset | The offset into certBuf at which the certificate begins. | 
| length | The length of the Weave certificate. | 
Returns
- A byte array containing the resultant X.509 certificate.
public static byte[] weaveCertificateToX509 (byte[] certBuf)
Convert a certificate in Weave format to the equivalent X.509 certificate.
Parameters
| certBuf | A byte array containing the Weave certificate to be converted. | 
|---|
Returns
- A byte array containing the resultant X.509 certificate.
public static byte[] x509CertificateToWeave (byte[] certBuf)
Convert a certificate in X.509 format to the equivalent Weave certificate.
Parameters
| certBuf | A byte array containing the X.509 certificate to be converted. | 
|---|
Returns
- A byte array containing the resultant Weave certificate.
public static byte[] x509CertificateToWeave (byte[] certBuf, int offset, int length)
Convert a certificate in X.509 format to the equivalent Weave certificate.
Parameters
| certBuf | A byte array containing the X.509 certificate to be converted. | 
|---|---|
| offset | The offset into certBuf at which the certificate begins. | 
| length | The length of the X.509 certificate. | 
Returns
- A byte array containing the resultant Weave certificate.