Documentation ¶
Overview ¶
Certificate Signing Request https://github.com/openconnectivityfoundation/security/blob/master/swagger2.0/oic.sec.csr.swagger.json
Index ¶
Constants ¶
View Source
const ( ResourceType = "oic.r.csr" ResourceURI = "/oic/sec/csr" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertificateEncoding ¶
type CertificateEncoding string
const ( CertificateEncoding_PEM CertificateEncoding = "oic.sec.encoding.pem" CertificateEncoding_DER CertificateEncoding = "oic.sec.encoding.der" // iotivity-lite doesn't support it )
type CertificateSigningRequestResponse ¶
type CertificateSigningRequestResponse struct { Interfaces []string `json:"if"` ResourceTypes []string `json:"rt"` Name string `json:"n"` InstanceID string `json:"id"` Encoding CertificateEncoding `json:"encoding"` CertificateSigningRequest interface{} `json:"csr"` }
func (CertificateSigningRequestResponse) CSR ¶
func (c CertificateSigningRequestResponse) CSR() []byte
Click to show internal directories.
Click to hide internal directories.