WeaveCertificateSupport

public final class WeaveCertificateSupport extends Object

支援處理 Weave 憑證的方法。

公用建構函式摘要

公用方法摘要

static byte[]
weaveCertificateToX509(byte[] certBuf, int offset, int length)
將 Weave 格式的憑證轉換為對等的 X.509 憑證。
static byte[]
weaveCertificateToX509(byte[] certBuf)
將 Weave 格式的憑證轉換為對等的 X.509 憑證。
static byte[]
x509CertificateToWeave(byte[] certBuf)
將 X.509 格式的憑證轉換為對應的 Weave 憑證。
static byte[]
x509CertificateToWeave(byte[] certBuf, int offset, int length)
將 X.509 格式的憑證轉換為對應的 Weave 憑證。

繼承方法摘要

公用建構函式

public WeaveCertificateSupport ()

公用方法

public static byte[] weaveCertificateToX509 (byte[] certBuf, int offset, int length)

將 Weave 格式的憑證轉換為對等的 X.509 憑證。

參數
certBuf 包含要轉換的 Weave 憑證的位元組陣列。
碳補償 憑證在 certBuf 中的起始位移。
長度 Weave 憑證的長度。
傳回
  • 包含產生的 X.509 憑證的位元組陣列。

public static byte[] weaveCertificateToX509 (byte[] certBuf)

將 Weave 格式的憑證轉換為對等的 X.509 憑證。

參數
certBuf 包含要轉換的 Weave 憑證的位元組陣列。
傳回
  • 包含產生的 X.509 憑證的位元組陣列。

public static byte[] x509CertificateToWeave (byte[] certBuf)

將 X.509 格式的憑證轉換為對應的 Weave 憑證。

參數
certBuf 包含要轉換的 X.509 憑證的位元組陣列。
傳回
  • 包含產生的 Weave 憑證的位元組陣列。

public static byte[] x509CertificateToWeave (byte[] certBuf, int offset, int length)

將 X.509 格式的憑證轉換為對應的 Weave 憑證。

參數
certBuf 包含要轉換的 X.509 憑證的位元組陣列。
碳補償 憑證在 certBuf 中的起始位移。
長度 X.509 憑證的長度。
傳回
  • 包含產生的 Weave 憑證的位元組陣列。