52 if ((This ==
NULL) || (Data ==
NULL) || (DataSize == 0)) {
53 return EFI_INVALID_PARAMETER;
56 OldTpl =
gBS->RaiseTPL (TPL_CALLBACK);
58 Instance = TLS_INSTANCE_FROM_CONFIGURATION (This);
74 Status = EFI_UNSUPPORTED;
77 gBS->RestoreTPL (OldTpl);
108 IN OUT VOID *Data OPTIONAL,
119 if ((This ==
NULL) || (DataSize ==
NULL) || ((Data ==
NULL) && (*DataSize != 0))) {
120 return EFI_INVALID_PARAMETER;
123 OldTpl =
gBS->RaiseTPL (TPL_CALLBACK);
125 Instance = TLS_INSTANCE_FROM_CONFIGURATION (This);
141 Status = EFI_UNSUPPORTED;
144 gBS->RestoreTPL (OldTpl);
@ EfiTlsConfigDataTypeCertRevocationList
@ EfiTlsConfigDataTypeHostPublicCert
@ EfiTlsConfigDataTypeCACertificate
@ EfiTlsConfigDataTypeHostPrivateKey
EFI_STATUS EFIAPI TlsConfigurationGetData(IN EFI_TLS_CONFIGURATION_PROTOCOL *This, IN EFI_TLS_CONFIG_DATA_TYPE DataType, IN OUT VOID *Data OPTIONAL, IN OUT UINTN *DataSize)
EFI_STATUS EFIAPI TlsConfigurationSetData(IN EFI_TLS_CONFIGURATION_PROTOCOL *This, IN EFI_TLS_CONFIG_DATA_TYPE DataType, IN VOID *Data, IN UINTN DataSize)
EFI_STATUS EFIAPI TlsGetHostPublicCert(IN VOID *Tls, OUT VOID *Data, IN OUT UINTN *DataSize)
EFI_STATUS EFIAPI TlsSetCertRevocationList(IN VOID *Data, IN UINTN DataSize)
EFI_STATUS EFIAPI TlsGetCertRevocationList(OUT VOID *Data, IN OUT UINTN *DataSize)
EFI_STATUS EFIAPI TlsSetCaCertificate(IN VOID *Tls, IN VOID *Data, IN UINTN DataSize)
EFI_STATUS EFIAPI TlsSetHostPrivateKey(IN VOID *Tls, IN VOID *Data, IN UINTN DataSize)
EFI_STATUS EFIAPI TlsSetHostPublicCert(IN VOID *Tls, IN VOID *Data, IN UINTN DataSize)
EFI_STATUS EFIAPI TlsGetCaCertificate(IN VOID *Tls, OUT VOID *Data, IN OUT UINTN *DataSize)
EFI_STATUS EFIAPI TlsGetHostPrivateKey(IN VOID *Tls, OUT VOID *Data, IN OUT UINTN *DataSize)